package com.itheima.stock.mapper;

import com.itheima.stock.pojo.entity.SysLog;
import com.itheima.stock.pojo.vo.req.Plog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hyx
* @description 针对表【sys_log(系统日志)】的数据库操作Mapper
* @createDate 2024-05-22 20:50:24
* @Entity com.itheima.stock.pojo.entity.SysLog
*/
public interface SysLogMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysLog record);

    int insertSelective(SysLog record);

    SysLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLog record);

    int updateByPrimaryKey(SysLog record);


    List<SysLog> getLogs(Plog plog);

    void deleteByIds(@Param("logIds") List<Long> logIds);
}
